<%= link_to("<< Back to list", {:action => 'list'}, :class => 'back-link') %>

<div class="produce show">
	<h2>Show Produce</h2>

	<table sumary="Produce detail view">
		<tr>
			<td><%= image_tag("HOG_Blend_coffee.jpg", :alt => "HOG Blend") %></td>
		</tr>

		<tr>
			<th>Name</th>
			<td><%= @produce.name %></td>
		</tr>

		<tr>
			<th>Position</th>
			<td><%= @produce.origin %></td>
		</tr>

		<tr>
			<th>Add day</th>
			<td><%= @produce.add_day %></td>
		</tr>

		<tr>
			<th>End day</th>
			<td><%= @produce.end_day %></td>
		</tr>

		<tr>
			<th>Description</th>
			<td><%= @produce.description %></td>
		</tr>

		<tr>
			<th>Available</th>
			<td><%= @produce.available %></td>
		</tr>

		<tr>
			<th>Price</th>
			<td><%= @produce.price %></td>
		</tr>
		<div class="form-buttons">
  	  		<%= button_to 'Thêm vào giỏ hàng', {:action => 'add_to_cart', :id => @produce.id}, 
  	  		:onclick => "add_to_cart(); return true;" %>
    	</div>
	</table>

</div>